/*
 * @Author: Penk
 * @LastEditors: Penk
 * @LastEditTime: 2022-12-28 10:59:17
 * @FilePath: \penk-ui\src\components\PenkButton\PenkButton.test.ts
 * @email: 492934056@qq.com
 */
import PenkButton from "./PenkButton.vue";
import { render, screen } from "@testing-library/vue";

test("PenkButton set props name", async () => {
  let name = "Penk666";
  render(PenkButton, {
    props: {
      name: name,
    },
  });

  expect(screen.queryByText(name)).toBeTruthy();
});
